package com.calvin.study.reflect.model;

import lombok.Data;

@Data
public class Cat {

	private String name;

	public Integer sex = 1;

	public Cat() {
	}

	public Cat(String name) {
		this.name = name;
	}

	public String eat() {
		String food = "吃猫粮";
		System.out.println(food);
		return food;
	}

	@Override
	public String toString() {
		return super.toString();
	}
	
	

}
